<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>表单设计器</title>
    <link rel="stylesheet" href="./layui/css/layui.css" />
</head>

<body class="layui-layout-body">
    <div style="height: 100%; width: 100%;" id="formdesigner">
        
    </div>
    <script type="text/javascript" src="./layui/layui.js"></script>
    <script type="text/javascript" src="./ayq/js/config.js"></script>
    <script type="text/javascript" src="./ayq/modules/Sortable/Sortable.min.js"> </script>
    <!--htmlformat 为js-beautify代码-->
    <script type="text/javascript" src="./ayq/js/htmlformat.js"></script>
    <script type="text/javascript" src="./ayq/js/jsformat.js"></script>
    <script src="./js/activiti.manager.core.util.js"></script>
    <script>
        layui.config(
		{base: './ayq/modules/'}).use(['layer', 'formDesigner'], function () {
            var $=layui.$;
            var formDesigner = layui.formDesigner;
            // formDesigner.render({
            //     elem:'#formdesigner'
            // });
            formDesigner.render({
                data:[],
                elem:'#formdesigner'
            });
        }); 
    </script>

</body>

</html>